package com.nosnow.order.service;

import com.nosnow.order.entity.PayLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 支付日志表 服务类
 * </p>
 *
 * @author bingheng
 * @since 2020-05-24
 */
public interface PayLogService extends IService<PayLog> {

    // 封装付款二维码和其他信息
    Map<String, Object> createNative(String orderNo) throws Exception;

    // 根据订单号查询支付状态
    Map<String, String> queryPayStatus(String orderNo) throws Exception;

    // 更新订单状态
    void updateOrderStatus(Map<String, String> map);
}
